﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommandDemo
{
    /// <summary>
    /// 客户端，场景类
    /// </summary>
    class Client
    {
        /// <summary>
        /// 接头人联系
        /// </summary>
        public Invoker Invoker{ get; set; }

        public void SendCommand1()
        {
            Invoker = new Invoker("增加需求");
        }

        public void SendCommand2()
        {
            Invoker = new Invoker("删除一个页面");
        }
    }
}
